<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>发光</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }

    body {
        background-color: black;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }

    .circle {
        background-color: #0bec7c;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        transform: translateY(-50%) scale(0);
        animation: circle 3s infinite;
        margin: 100px;

    }

    @keyframes circle {
        40% {
            transform: translateY(-50%) scale(1);
            box-shadow: 0 0 0 4px #0bec7c22,
                0 0 0 10px #0bec7c22,
                0 0 20px #0bec7c,
                0 0 40px 5px #0bec7c,
                0 0 60px 10px #0bec7c;
        }
    }

    .circle2{
        width: 10px;
        height: 10px;
        background-color: #0bec7c;
        border-radius: 50%;
        box-shadow: 0 0 0 4px #0bec7c22,
        0 0 0 10px #0bec7c22,
        0 0 20px #0bec7c,
        0 0 40px 5px #0bec7c,
        0 0 60px 10px #0bec7c
    }
</style>

<body>
    <div class="circle"></div>
    <div class="circle2"></div>
</body>

</html>